package com.jboost.modules.app.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.Map;

public class GcKcDto {


    @Data
    public static class Insert {
        Map<String, Object> barn_stock;

        @Data
        @Builder
        public static class BarnStockInsertBean {
            private Map<String, Object> product_barcode;
            private Map<String, Object> compliance_status;
            private Map<String, Object> product_title_cn;
            private Map<String, Object> warehouse_desc;
            private Map<String, Object> stocking;
            private Map<String, Object> product_status;
            private Map<String, Object> onway;
            private Map<String, Object> send_in_way;
            private Map<String, Object> end_in_way;
            private Map<String, Object> pi_freeze;
            private Map<String, Object> sellable;
            private Map<String, Object> reserved;
            private Map<String, Object> unsellable;
            private Map<String, Object> shipped;
        }
    }

    @Data
    public static class Query {
        private List<BarnStockBean> barn_stock;

        public static class BarnStockBean {

            /**
             * product_barcode : Peter
             * compliance_status : Peter
             * product_title_cn : Peter
             * warehouse_desc : Peter
             * stocking : 10
             * product_status : Peter
             * onway : 10
             * send_in_way : 10
             * end_in_way : 10
             * pi_freeze : 10
             * sellable : 10
             * reserved : 10
             * unsellable : 10
             * shipped : 10
             */

            private String product_barcode;
            private String compliance_status;
            private String product_title_cn;
            private String warehouse_desc;
            private int stocking;
            private String product_status;
            private int onway;
            private int send_in_way;
            private int end_in_way;
            private int pi_freeze;
            private int sellable;
            private int reserved;
            private int unsellable;
            private int shipped;

        }
    }
}
